package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 配方管理对象 recipe
 * 
 * @author liukangzu
 * @date 2025-04-17
 */
public class Recipe extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 配方id */
    @Excel(name = "配方id")
    private Integer recipeId;

    /** 预制菜id */
    @Excel(name = "预制菜id")
    private Integer recipePremaidFoodId;

    /** 原材料id */
    @Excel(name = "原材料id")
    private Integer recipeRawMaterilaId;

    /** 原材料需求量 */
    @Excel(name = "原材料需求量")
    private Integer recipeCount;

    public void setRecipeId(Integer recipeId) 
    {
        this.recipeId = recipeId;
    }

    public Integer getRecipeId() 
    {
        return recipeId;
    }

    public void setRecipePremaidFoodId(Integer recipePremaidFoodId) 
    {
        this.recipePremaidFoodId = recipePremaidFoodId;
    }

    public Integer getRecipePremaidFoodId() 
    {
        return recipePremaidFoodId;
    }

    public void setRecipeRawMaterilaId(Integer recipeRawMaterilaId) 
    {
        this.recipeRawMaterilaId = recipeRawMaterilaId;
    }

    public Integer getRecipeRawMaterilaId() 
    {
        return recipeRawMaterilaId;
    }

    public void setRecipeCount(Integer recipeCount) 
    {
        this.recipeCount = recipeCount;
    }

    public Integer getRecipeCount() 
    {
        return recipeCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recipeId", getRecipeId())
            .append("recipePremaidFoodId", getRecipePremaidFoodId())
            .append("recipeRawMaterilaId", getRecipeRawMaterilaId())
            .append("recipeCount", getRecipeCount())
            .toString();
    }
}
